<?php

/* 
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

namespace Admin\Model;
use Think\Model;
class ProductModel extends Model{
    
   protected $tableName="product"; 
  
   protected $_validate = array(
     array('name','require','商品名称必须填写'),  
     array('intro','require','商品简介必须填写'), 
     array('picarray','require','商品橱窗图片必须上传'),
     array('content ','require','商品详细描述必须填写'), 
   );
   
    
}
